<div class="bjui-pageContent">
    <form action="${wwwroot}/admin/mailserver/save" id="editForm" data-toggle="validate" data-alertmsg="false" reloadNavtab="true">
        <input type="hidden" name="id" value="${(mailServer.id)!}" />
        <div class="pageFormContent" data-layout-h="0">
            <table class="table table-condensed table-hover" width="100%">
                <tbody>
                    <tr>
                        <td>
                            <label for="smtp" class="control-label x85">smtp地址：</label>
                            <input type="text" name="smtp" id="smtp" value="${(mailServer.smtp)!}" data-rule="required" >
                        </td>
                        <td>
                            <label for="port" class="control-label x85">端口：</label>
                            <input type="text" name="port" id="port" value="${(mailServer.port)!}"  >
                        </td>
                        <td>
                            <label for="username" class="control-label x85">账号：</label>
                            <input type="text" name="username" id="username" value="${(mailServer.username)!}"  >
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="password" class="control-label x85">密码：</label>
                            <input type="password" name="password" id="password" value="${(mailServer.password)!}"  >
                        </td>
                        <td>
                            <label for="fromName" class="control-label x85">发送邮箱用户：</label>
                            <input type="text" name="fromName" id="fromName" value="${(mailServer.fromName)!}"  >
                        </td>
                        <td>
                            <label for="fromEmail" class="control-label x85">发送邮箱地址：</label>
                            <input type="text" name="fromEmail" id="fromEmail" value="${(mailServer.fromEmail)!}"  >
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<div class="bjui-pageFooter" >
    <ul>
        <li><button type="button" class="btn btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn btn-success" data-icon="save">保存</button></li>
    </ul>
</div>
